package po;

import io.appium.java_client.MobileElement;
import io.appium.java_client.android.AndroidDriver;

/**
 * 线路详情页
 */
public class LineDetailPage {
    AndroidDriver driver;
    public LineDetailPage(AndroidDriver driver){
        this.driver=driver;
    }
    public String getLineName( AndroidDriver driver) {
        MobileElement el3 = (MobileElement) driver.findElementById("com.ygkj.chelaile.standard:id/cll_line_detail_gray_line_name");
        return el3.getText();
    }
}
